LanguageExt.Core

LanguageExt.Core Monads Free

Contents

record Free <F, A> Source #

where F : Functor<F>

Free monad makes any functor into a monad

Parameters

type F

Functor type

type A

Bound value type

record Pure <F, A> (A Value) Source #

where F : Functor<F>

Terminal case for the free monad

Parameters

type F

Functor type

type A

Bound value type

param Value

Terminal value

record Bind <F, A> (K<F, Free<F, A>> Value) Source #

where F : Functor<F>

Monadic bind case for the free monad

Parameters

type F

Functor type

type A

Bound value type

param Value

Functor that yields a Free monad

class Free Source #

Methods

method Free<F, A> As <F, A> (this K<Free<F>, A> ma) Source #

where F : Functor<F>

class Free <F> Source #

where F : Functor<F>

Free monad makes any functor into a monad